
import { defineStore } from 'pinia';

export const useCounterStore = defineStore(
    'counter',
    {
        state: () => {
            return { count: 0, list: [1, 2, 3] };
        },
        actions: {
            increment() {
                this.count++;
            },
        },
    },
);
